package io.datajek.springbasics.movierecommendersystem.lesson12;

import io.datajek.springbasics.movierecommendersystem.lesson2.Filter;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.inject.Named;


@Named
@Qualifier("CBF")
public class ContentBasedFilter implements Filter {

    public String[] getRecommendations(String movie){

        return new String[] {"Happy Feet", "Ice Age", "Shark Tale"};
    }
}
